package com.prs.crm.domain.approval;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.hibernate.annotations.Cascade;
import com.prs.crm.domain.Attachment;
import com.prs.crm.domain.BaseEntity;
import com.prs.crm.domain.assets.AssetsBigClass;
import com.prs.crm.domain.assets.AssetsLingYong;
import com.prs.crm.domain.assets.AssetsRegister;
import com.prs.crm.domain.assets.AssetsRevert;
import com.prs.crm.domain.assets.AssetsScrap;
import com.prs.crm.domain.assets.AssetsSmallClass;
import com.prs.crm.domain.ca.work.ArticleInfo;
import com.prs.crm.domain.ca.work.ArticleTook;
import com.prs.crm.domain.ca.work.ArticleTypes;
import com.prs.crm.domain.ca.work.InventoryMaintain;
import com.prs.crm.domain.ca.work.ProcureStore;
import com.prs.crm.domain.ca.work.PurchaseApply;
import com.prs.crm.domain.flow.WorkFlow;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.bookmanager.BookRegister;
import com.prs.crm.domain.oa.bookmanager.BorrowRegister;
import com.prs.crm.domain.oa.bookmanager.RevertRegister;

/**
 * @author 廖苹宏
 * @version 2012-5-2 14:31:00 起草申请单
 * */
@Entity
@Table(name="app_shenqing")
public class Application extends BaseEntity {
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private int id;    //主键  
	private String state;
	private String resign;
	/**借支事由*/
	private String reason;
	/**金额*/
	private double money;
	/**借支单名称*/
	private String appName;
	/**借支单流水号*/
	private String serialNum;
	/**借支单创建时间*/
	private Date creatTime;
	/**借支人职务*/
	private String zhiwu;
	/**当前用户信息*/
	@ManyToOne
	private Person person;
	/**重要度*/
	private String type;
	/**审签状态*/
	private Integer sqType;  // 0表示未提交1审批中2已完成3撤销申请4未通过
	/**当前审批*/
	private Integer spr;     // 0 1部门经理2总经理3财务经理4出纳
	/**附件*/
	@ManyToOne(fetch=FetchType.LAZY)
	@Cascade({org.hibernate.annotations.CascadeType.ALL,org.hibernate.annotations.CascadeType.DELETE_ORPHAN})
	private Attachment attach;
	//支票单增加字段
	/**支票号*/
	private String chequeNum;
	//电汇单增加字段
	/**开户行*/
	private String banks;
	/**开户名*/
	private String bankName;
	/**账户*/
	private String bankNum;
	/**电汇号*/
	private String dianhui;
	//费用报销单增加字段
	/**用途说明*/
	private String purposeContext;
	/**原借支单号*/
	private String yuanNum;
	/**费用项目*/
	@ManyToOne
	private Purpose purpose;
	//差旅费报销单增加字段
	/**总计*/
	private String total;
	@OneToMany(mappedBy="application",cascade={CascadeType.ALL})
	private Set<ChaiLv> chailvs;
	//报价审批单
	@OneToMany(mappedBy="application",cascade={CascadeType.ALL})
	private Set<Quote> quotes;
	
	//工作报告
	/**报告时间*/
	private String time;
	/**报告类型*/
	private String reportType;
	//设备采购单
	@OneToMany(mappedBy="application",cascade={CascadeType.ALL})
	private Set<Procure> procures;
	
	//故障维护表
	/**单位/部门/房间号:*/
	private String unitNum;
	/**联系办法:*/
	private String contact;
	/**办理办法*/
	private String way;
	/**处理结果*/
	private String result;
	/**备注*/
	private String remark;
	//业务招待
	/**招待酒店*/
	private String hotel;
	/**来客人数*/
	private int peocount;
	/**批准人*/
	private String pizhunName;
	//出差申请
	/**交通工具*/
	private String trafficTools;
	/**开始时间*/
	private String startTime;
	/**结束时间*/
	private String endTime;
	/**出差地点*/
	private String address;
	//请假申请
	/**请假天数*/
	private String today;
	/**请假类别*/
	private String leaveType;
	//人事信息变更
	//姓名变更
	private String name;
	private String xname;
	private String nameremark;
	//身份证变更
	private String card;
	private String xcard;
	private String cardremark;
	//户口变更
	private String account;
	private String xaccount;
	private String accountremark;
	//用户性质
	private String xingz;
	private String xxingz;
	private String xingzremark;
	//银行账号
	private String bank;
	private String xbank;
	private String bankremark;
	//婚姻状况
	private String marriage;
	private String xmarriage;
	private String marriageremark;
	//生育情况
	private String birth;
	private String xbirth;
	private String birthremark;
	//学历
	private String degree;
	private String xdegree;
	private String degreemark;
	//联系信息
	private String lianxi;
	private String xlianxi;
	private String lianximark;
	//辞退申请单
	/**所在部门*/
	private String department;
	//转正申请
	/**负责人*/
	private String fuzeren;
	//试用期考核表
	/**性别*/
	private String sex;
	/**出生年月*/
	private String birthday;
	//工资变更申请单
	/**记录*/
	private String record;
	/**现在工资率*/
	private String now;
	/**最低工资率*/
	private String bottom;
	/**工资等级*/
	private String level;
	//公司招聘申请单
//	/**招聘岗位名称*/
//	private String zhaoName;
	/**现有人数*/
	private int nowNum;
	/**招聘人数*/
	private int zhao;
	/**年龄*/
	private String age;
	/**专业*/
	private String major;
	/**岗位类型*/
	private String post;
	/**工作经验*/
	private String experience;
//	/**相关技能*/
//	private String skill;
	//离职申请单
	/**工作交接*/
	private String jiaojie;
	/**接受人*/
	private String jieshou;
	/**工资结算*/
	private String jiesuan;
	/**个人借款*/
	private String jie;
	@Column(columnDefinition="Double(11,2)default'0.00'")
	private Double jieMoney;
	/**应收金额*/
	private String shou;
	@Column(columnDefinition="Double(11,2)default'0.00'")
	private Double shouMoney;
	/**报销金额*/
	private String baoxiao;
	@Column(columnDefinition="Double(11,2)default'0.00'")
	private Double baoxiaoMoney;
	/**办公用品*/
	private String office;
	@Column(columnDefinition="Double(11,2)default'0.00'")
	private Double officeMoney;
	/**借阅图书*/
	private String book;
	@Column(columnDefinition="Double(11,2)default'0.00'")
	private Double bookMoner;
	/**商业保险*/
	private String shang;
	@Column(columnDefinition="Double(11,2)default'0.00'")
	private Double shangMoney;
	//奖惩建议单
	/**奖惩类别*/
	private String jcType;
	/**审批*/
	@OneToMany(mappedBy="application",cascade={CascadeType.ALL})
	private List<Approve> approves;
	//采购申请
	@ManyToOne
	private PurchaseApply purchaseApply;
	//采购入库
	@ManyToOne
	private ProcureStore procureStore;
	//物品领用
	@ManyToOne
	private ArticleTook articleTook;
	//库存维护
	@ManyToOne
	private InventoryMaintain inventoryMaintain;
	//物品信息
	@ManyToOne
	private ArticleInfo articleInfo;
	//图书登记
	@ManyToOne
	private BookRegister bookRegister;
	//借阅登记
	@ManyToOne
	private BorrowRegister borrowRegister;
	//归还登记
	@ManyToOne
	private RevertRegister revertRegister;
	//资产登记
	@ManyToOne
	private AssetsRegister assetsRegister;
	//资产领用
	@ManyToOne
	private AssetsLingYong assetsLingYong;
	//资产归还
	@ManyToOne
	private AssetsRevert assetsRevert;
	//资产报废
	@ManyToOne
	private AssetsScrap assetsScrap;
	//大类维护
	@ManyToOne
	private AssetsBigClass assetsBigClass;
	//小类维护
	@ManyToOne
	private AssetsSmallClass assetsSmallClass;
	private Integer oabox;
	private String personAppProcess;
	private Integer personAppState;
	@Lob
	private String readPersons;
	@Lob
	private String isReadys;
	private String alreadyReadyPerson;
	@Lob
	private String ideas;
	@Lob
	private String dateTime;
	private Double showReady;
	@ManyToOne
	private Person fenPerson;
	private Integer jkState;
	public Integer getJkState() {
		return jkState;
	}
	public void setJkState(Integer jkState) {
		this.jkState = jkState;
	}
	public Person getFenPerson() {
		return fenPerson;
	}
	public void setFenPerson(Person fenPerson) {
		this.fenPerson = fenPerson;
	}
	public String getDateTime() {
		return dateTime;
	}
	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}
	public Double getShowReady() {
		return showReady;
	}
	public void setShowReady(Double showReady) {
		this.showReady = showReady;
	}
	public String getIsReadys() {
		return isReadys;
	}
	public void setIsReadys(String isReadys) {
		this.isReadys = isReadys;
	}
	public String getIdeas() {
		return ideas;
	}
	public void setIdeas(String ideas) {
		this.ideas = ideas;
	}
	public String getAlreadyReadyPerson() {
		return alreadyReadyPerson;
	}
	public void setAlreadyReadyPerson(String alreadyReadyPerson) {
		this.alreadyReadyPerson = alreadyReadyPerson;
	}
	//////////////////////////////////////////////////////////////////////////////
	public void addChailv(ChaiLv cl){
		if(chailvs ==null){
			chailvs = new HashSet<ChaiLv>();
		}
		cl.setApplication(this);
		this.chailvs.add(cl);
	}
	public String getReadPersons() {
		return readPersons;
	}
	public void setReadPersons(String readPersons) {
		this.readPersons = readPersons;
	}
	public String getPersonAppProcess() {
		return personAppProcess;
	}
	public void setPersonAppProcess(String personAppProcess) {
		this.personAppProcess = personAppProcess;
	}
	public Integer getPersonAppState() {
		return personAppState;
	}
	public void setPersonAppState(Integer personAppState) {
		this.personAppState = personAppState;
	}
	public Integer getOabox() {
		return oabox;
	}
	public void setOabox(Integer oabox) {
		this.oabox = oabox;
	}
	public void addQuotes(Quote quote){
		if(quotes == null){
			quotes = new HashSet<Quote>();
		}
		quote.setApplication(this);
		this.quotes.add(quote);
	}
	public void addProcures(Procure procure){
		if(procures == null){
			procures = new HashSet<Procure>();
		}
		procure.setApplication(this);
		this.procures.add(procure);
	}
	public void addApproves(Approve approve){
		if(approves == null){
			approves = new ArrayList<Approve>();
		}
		approve.setApplication(this);
		this.approves.add(approve);
	}
	
	@ManyToOne
	private WorkFlow workFlow;
	private String showState;
	private Integer appState;//审批状态    0未提交 1审批中 2，审批完成 4未通过审批
	private String appFlow;
	private String jingwoShowState;
	private String shenqingTypeName;
	public String getJingwoShowState() {
		return jingwoShowState;
	}
	public void setJingwoShowState(String jingwoShowState) {
		this.jingwoShowState = jingwoShowState;
	}
	public String getShenqingTypeName() {
		return shenqingTypeName;
	}
	public void setShenqingTypeName(String shenqingTypeName) {
		this.shenqingTypeName = shenqingTypeName;
	}
	public String getAppFlow() {
		return appFlow;
	}
	public void setAppFlow(String appFlow) {
		this.appFlow = appFlow;
	}
	public String getShowState() {
		return showState;
	}
	public void setShowState(String showState) {
		this.showState = showState;
	}
	public Integer getAppState() {
		return appState;
	}
	public void setAppState(Integer appState) {
		this.appState = appState;
	}
	////////////////////////////////////Get/Set////////////////////////////////////
	public int getId() {
		return id;
	}
	public WorkFlow getWorkFlow() {
		return workFlow;
	}
	public void setWorkFlow(WorkFlow workFlow) {
		this.workFlow = workFlow;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getSerialNum() {
		return serialNum;
	}
	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}
	public Date getCreatTime() {
		return creatTime;
	}
	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}
	public String getZhiwu() {
		return zhiwu;
	}
	public void setZhiwu(String zhiwu) {
		this.zhiwu = zhiwu;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getSqType() {
		return sqType;
	}
	public void setSqType(Integer sqType) {
		this.sqType = sqType;
	}
	public Attachment getAttach() {
		return attach;
	}
	public void setAttach(Attachment attach) {
		this.attach = attach;
	}
	
	public String getChequeNum() {
		return chequeNum;
	}
	public void setChequeNum(String chequeNum) {
		this.chequeNum = chequeNum;
	}
	public String getBanks() {
		return banks;
	}
	public void setBanks(String banks) {
		this.banks = banks;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public String getBankNum() {
		return bankNum;
	}
	public void setBankNum(String bankNum) {
		this.bankNum = bankNum;
	}
	public String getDianhui() {
		return dianhui;
	}
	public void setDianhui(String dianhui) {
		this.dianhui = dianhui;
	}
	public String getPurposeContext() {
		return purposeContext;
	}
	public void setPurposeContext(String purposeContext) {
		this.purposeContext = purposeContext;
	}
	public String getYuanNum() {
		return yuanNum;
	}
	public void setYuanNum(String yuanNum) {
		this.yuanNum = yuanNum;
	}
	public Purpose getPurpose() {
		return purpose;
	}
	public void setPurpose(Purpose purpose) {
		this.purpose = purpose;
	}
	public String getTotal() {
		return total;
	}
	public void setTotal(String total) {
		this.total = total;
	}
	public Set<ChaiLv> getChailvs() {
		return chailvs;
	}
	public void setChailvs(Set<ChaiLv> chailvs) {
		this.chailvs = chailvs;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getReportType() {
		return reportType;
	}
	public void setReportType(String reportType) {
		this.reportType = reportType;
	}
	public String getUnitNum() {
		return unitNum;
	}
	public void setUnitNum(String unitNum) {
		this.unitNum = unitNum;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public String getWay() {
		return way;
	}
	public void setWay(String way) {
		this.way = way;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getHotel() {
		return hotel;
	}
	public void setHotel(String hotel) {
		this.hotel = hotel;
	}
	public int getPeocount() {
		return peocount;
	}
	public void setPeocount(int peocount) {
		this.peocount = peocount;
	}
	public String getPizhunName() {
		return pizhunName;
	}
	public void setPizhunName(String pizhunName) {
		this.pizhunName = pizhunName;
	}
	public String getTrafficTools() {
		return trafficTools;
	}
	public void setTrafficTools(String trafficTools) {
		this.trafficTools = trafficTools;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getToday() {
		return today;
	}
	public void setToday(String today) {
		this.today = today;
	}
	public String getLeaveType() {
		return leaveType;
	}
	public void setLeaveType(String leaveType) {
		this.leaveType = leaveType;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getXname() {
		return xname;
	}
	public void setXname(String xname) {
		this.xname = xname;
	}
	public String getNameremark() {
		return nameremark;
	}
	public void setNameremark(String nameremark) {
		this.nameremark = nameremark;
	}
	public String getCard() {
		return card;
	}
	public void setCard(String card) {
		this.card = card;
	}
	public String getXcard() {
		return xcard;
	}
	public void setXcard(String xcard) {
		this.xcard = xcard;
	}
	public String getCardremark() {
		return cardremark;
	}
	public void setCardremark(String cardremark) {
		this.cardremark = cardremark;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getXaccount() {
		return xaccount;
	}
	public void setXaccount(String xaccount) {
		this.xaccount = xaccount;
	}
	public String getAccountremark() {
		return accountremark;
	}
	public void setAccountremark(String accountremark) {
		this.accountremark = accountremark;
	}
	public String getXingz() {
		return xingz;
	}
	public void setXingz(String xingz) {
		this.xingz = xingz;
	}
	public String getXxingz() {
		return xxingz;
	}
	public void setXxingz(String xxingz) {
		this.xxingz = xxingz;
	}
	public String getXingzremark() {
		return xingzremark;
	}
	public void setXingzremark(String xingzremark) {
		this.xingzremark = xingzremark;
	}
	public String getBank() {
		return bank;
	}
	public void setBank(String bank) {
		this.bank = bank;
	}
	public String getXbank() {
		return xbank;
	}
	public void setXbank(String xbank) {
		this.xbank = xbank;
	}
	public String getBankremark() {
		return bankremark;
	}
	public void setBankremark(String bankremark) {
		this.bankremark = bankremark;
	}
	public String getMarriage() {
		return marriage;
	}
	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}
	public String getXmarriage() {
		return xmarriage;
	}
	public void setXmarriage(String xmarriage) {
		this.xmarriage = xmarriage;
	}
	public String getMarriageremark() {
		return marriageremark;
	}
	public void setMarriageremark(String marriageremark) {
		this.marriageremark = marriageremark;
	}
	public String getBirth() {
		return birth;
	}
	public void setBirth(String birth) {
		this.birth = birth;
	}
	public String getXbirth() {
		return xbirth;
	}
	public void setXbirth(String xbirth) {
		this.xbirth = xbirth;
	}
	public String getBirthremark() {
		return birthremark;
	}
	public void setBirthremark(String birthremark) {
		this.birthremark = birthremark;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getXdegree() {
		return xdegree;
	}
	public void setXdegree(String xdegree) {
		this.xdegree = xdegree;
	}
	public String getDegreemark() {
		return degreemark;
	}
	public void setDegreemark(String degreemark) {
		this.degreemark = degreemark;
	}
	public String getLianxi() {
		return lianxi;
	}
	public void setLianxi(String lianxi) {
		this.lianxi = lianxi;
	}
	public String getXlianxi() {
		return xlianxi;
	}
	public void setXlianxi(String xlianxi) {
		this.xlianxi = xlianxi;
	}
	public String getLianximark() {
		return lianximark;
	}
	public void setLianximark(String lianximark) {
		this.lianximark = lianximark;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getFuzeren() {
		return fuzeren;
	}
	public void setFuzeren(String fuzeren) {
		this.fuzeren = fuzeren;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getRecord() {
		return record;
	}
	public void setRecord(String record) {
		this.record = record;
	}
	public String getNow() {
		return now;
	}
	public void setNow(String now) {
		this.now = now;
	}
	public String getBottom() {
		return bottom;
	}
	public void setBottom(String bottom) {
		this.bottom = bottom;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
//	public String getZhaoName() {
//		return zhaoName;
//	}
//	public void setZhaoName(String zhaoName) {
//		this.zhaoName = zhaoName;
//	}
	public int getNowNum() {
		return nowNum;
	}
	public void setNowNum(int nowNum) {
		this.nowNum = nowNum;
	}
	public int getZhao() {
		return zhao;
	}
	public void setZhao(int zhao) {
		this.zhao = zhao;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String getPost() {
		return post;
	}
	public void setPost(String post) {
		this.post = post;
	}
	public String getExperience() {
		return experience;
	}
	public void setExperience(String experience) {
		this.experience = experience;
	}
//	public String getSkill() {
//		return skill;
//	}
//	public void setSkill(String skill) {
//		this.skill = skill;
//	}
	public String getJiaojie() {
		return jiaojie;
	}
	public void setJiaojie(String jiaojie) {
		this.jiaojie = jiaojie;
	}
	public String getJieshou() {
		return jieshou;
	}
	public void setJieshou(String jieshou) {
		this.jieshou = jieshou;
	}
	public String getJiesuan() {
		return jiesuan;
	}
	public void setJiesuan(String jiesuan) {
		this.jiesuan = jiesuan;
	}
	public String getJie() {
		return jie;
	}
	public void setJie(String jie) {
		this.jie = jie;
	}
	public Double getJieMoney() {
		return jieMoney;
	}
	public void setJieMoney(Double jieMoney) {
		this.jieMoney = jieMoney;
	}
	public String getShou() {
		return shou;
	}
	public void setShou(String shou) {
		this.shou = shou;
	}
	public Double getShouMoney() {
		return shouMoney;
	}
	public void setShouMoney(Double shouMoney) {
		this.shouMoney = shouMoney;
	}
	public String getBaoxiao() {
		return baoxiao;
	}
	public void setBaoxiao(String baoxiao) {
		this.baoxiao = baoxiao;
	}
	public Double getBaoxiaoMoney() {
		return baoxiaoMoney;
	}
	public void setBaoxiaoMoney(Double baoxiaoMoney) {
		this.baoxiaoMoney = baoxiaoMoney;
	}
	public String getOffice() {
		return office;
	}
	public void setOffice(String office) {
		this.office = office;
	}
	public Double getOfficeMoney() {
		return officeMoney;
	}
	public void setOfficeMoney(Double officeMoney) {
		this.officeMoney = officeMoney;
	}
	public String getBook() {
		return book;
	}
	public void setBook(String book) {
		this.book = book;
	}
	public Double getBookMoner() {
		return bookMoner;
	}
	public void setBookMoner(Double bookMoner) {
		this.bookMoner = bookMoner;
	}
	public String getShang() {
		return shang;
	}
	public void setShang(String shang) {
		this.shang = shang;
	}
	public Double getShangMoney() {
		return shangMoney;
	}
	public void setShangMoney(Double shangMoney) {
		this.shangMoney = shangMoney;
	}
	public String getJcType() {
		return jcType;
	}
	public void setJcType(String jcType) {
		this.jcType = jcType;
	}
	public Set<Quote> getQuotes() {
		return quotes;
	}
	public void setQuotes(Set<Quote> quotes) {
		this.quotes = quotes;
	}
	public Set<Procure> getProcures() {
		return procures;
	}
	public void setProcures(Set<Procure> procures) {
		this.procures = procures;
	}
	public List<Approve> getApproves() {
		return approves;
	}
	public void setApproves(List<Approve> approves) {
		this.approves = approves;
	}
	public Integer getSpr() {
		return spr;
	}
	public void setSpr(Integer spr) {
		this.spr = spr;
	}
	
	public PurchaseApply getPurchaseApply() {
		return purchaseApply;
	}
	public void setPurchaseApply(PurchaseApply purchaseApply) {
		this.purchaseApply = purchaseApply;
	}
	public ProcureStore getProcureStore() {
		return procureStore;
	}
	public void setProcureStore(ProcureStore procureStore) {
		this.procureStore = procureStore;
	}
	public ArticleTook getArticleTook() {
		return articleTook;
	}
	public void setArticleTook(ArticleTook articleTook) {
		this.articleTook = articleTook;
	}
	public InventoryMaintain getInventoryMaintain() {
		return inventoryMaintain;
	}
	public void setInventoryMaintain(InventoryMaintain inventoryMaintain) {
		this.inventoryMaintain = inventoryMaintain;
	}
	public ArticleInfo getArticleInfo() {
		return articleInfo;
	}
	public void setArticleInfo(ArticleInfo articleInfo) {
		this.articleInfo = articleInfo;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getResign() {
		return resign;
	}
	public void setResign(String resign) {
		this.resign = resign;
	}
	public BookRegister getBookRegister() {
		return bookRegister;
	}
	public void setBookRegister(BookRegister bookRegister) {
		this.bookRegister = bookRegister;
	}
	public BorrowRegister getBorrowRegister() {
		return borrowRegister;
	}
	public void setBorrowRegister(BorrowRegister borrowRegister) {
		this.borrowRegister = borrowRegister;
	}
	public RevertRegister getRevertRegister() {
		return revertRegister;
	}
	public void setRevertRegister(RevertRegister revertRegister) {
		this.revertRegister = revertRegister;
	}
	public AssetsRegister getAssetsRegister() {
		return assetsRegister;
	}
	public void setAssetsRegister(AssetsRegister assetsRegister) {
		this.assetsRegister = assetsRegister;
	}
	public AssetsLingYong getAssetsLingYong() {
		return assetsLingYong;
	}
	public void setAssetsLingYong(AssetsLingYong assetsLingYong) {
		this.assetsLingYong = assetsLingYong;
	}
	public AssetsRevert getAssetsRevert() {
		return assetsRevert;
	}
	public void setAssetsRevert(AssetsRevert assetsRevert) {
		this.assetsRevert = assetsRevert;
	}
	public AssetsScrap getAssetsScrap() {
		return assetsScrap;
	}
	public void setAssetsScrap(AssetsScrap assetsScrap) {
		this.assetsScrap = assetsScrap;
	}
	public AssetsBigClass getAssetsBigClass() {
		return assetsBigClass;
	}
	public void setAssetsBigClass(AssetsBigClass assetsBigClass) {
		this.assetsBigClass = assetsBigClass;
	}
	public AssetsSmallClass getAssetsSmallClass() {
		return assetsSmallClass;
	}
	public void setAssetsSmallClass(AssetsSmallClass assetsSmallClass) {
		this.assetsSmallClass = assetsSmallClass;
	}
	
}
